<template>
	<view style="width:100%;height: 100%;">
		<view class="card-title">电量数据</view>
		<view class="card-content" style="overflow: auto;">
			<view class="infos-detail">
				<text class="infos-key">开机电量:</text>
				<text class="infos-values">123Kw/h</text>
			</view>
			<view class="infos-detail">
				<text class="infos-key">停机电量:</text>
				<text class="infos-values">321Kw/h</text>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		name:'ElectricityData',
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>

	::v-deep .card-title {
		line-height: 30px;
		position: relative;
		padding-left: 20px;
		font-size: 14px;
		font-weight: 600;
		font-style: italic;
		color: #ffaa00;
		border-bottom: 1px solid #e4e7ed;
	}
	.card-content {
		// position: relative;
		display: flex;
		flex-direction: column;
		width: 100%;
		height: 100%;
		align-items: center;
		flex-direction: column;
		margin: 10px;
	
	}
	.infos-detail {
		display: flex;
		width: 100%;
		line-height: 30px;
		// padding: 0 100px;
	
		font-size: 27rpx;
	
		.infos-key {
			flex: 0 0 40%;
			text-align: left;
		}
	
		.infos-values {
			flex: 1;
			text-align: right;
			margin-right: 100rpx;
		}
	}

</style>